<html>
<body>

<h4>Tizag Art Supply Order Form</h4>

<form> 
<select> 
<option>Paint</option>
<option>Brushes</option>
<option>Erasers</option>
</select>
Quantity: <input type="text" /> 
<br \>
<input type="submit" size="40" value="SubButton"/>
</form>

</body>
</html>




<html>
<body>

<h3>Tizag Art Supply Order Form 2</h3>

<form action="process.php" method="post"> 
<select name="item"> 
<option>Paint</option>
<option>Brushes</option>
<option>Erasers</option>
</select>

Quantity: <input type="text" name="quantity" /> 
<input type="submit" size="40" value="SubButton"/>
</form>
</body></html>

<?php
function myCompanyMotto(){
    echo "We deliver quantity, not quality!<br />";
}
?>




<?php
echo "Welcome to Tizag.com <br />";
myCompanyMotto();
echo "Well, thanks for stopping by! <br />";
echo "and remember... <br />";
myCompanyMotto();
?>


<?php
function myGreeting($firstName){
    echo "Hello there ". $firstName . "!<br />";
}
myGreeting("Jack");
myGreeting("Ahmed");
myGreeting("Julie");
myGreeting("Charles");
?>


<?php
function mySum($numX, $numY){
    $total = $numX + $numY;
    return $total; 
}
$myNumber = 0;
echo "Before the function, myNumber = ". $myNumber ."<br />";
$myNumber = mySum(3, 4); 
// Store the result of mySum in $myNumber
echo "After the function, myNumber = " . $myNumber ."<br />";
?>


<?php
$employee_array[0] = "Bob";
$employee_array[1] = "Sally";
$employee_array[2] = "Charlie";
$employee_array[3] = "Clare";

echo "Two of my employees are ". $employee_array[0] . " & " . $employee_array[1]; 

echo "<br />Two more employees of mine are " . $employee_array[2] . " & " . $employee_array[3];

?>


<?php
$salaries["Bob"] = 2000;
$salaries["Sally"] = 4000;
$salaries["Charlie"] = 600;
$salaries["Clare"] = 0;

echo "Bob is being paid - $" . $salaries["Bob"] . "<br />";
echo "Sally is being paid - $" . $salaries["Sally"] . "<br />";
echo "Charlie is being paid - $" . $salaries["Charlie"] . "<br />";
echo "Clare is being paid - $" . $salaries["Clare"];
?>



<html>
<body>

<h3>Tizag Art Supply Order Form 3</h3>

<form action="process.php" method="get"> 
<select name="item2"> 
<option>Paint</option>
<option>Brushes</option>
<option>Erasers</option>
</select>

Quantity: <input type="text" name="quantity2" /> 
<input type="submit" size="40" value="SubButton"/>
</form>
</body></html>

<?php
function myCompanyMotto(){
    echo "We deliver quantity, not quality!<br />";
}
?>
